package com.lagou.module01.service;

import com.lagou.module01.bean.PageBean;
import com.lagou.module01.bean.Student;

import java.util.List;

/**
 * @Author: xyk
 * @Date: Create in 21:31 2021/3/14
 * @Description:
 */
public interface StudentService {
    // 分页显示所有学员信息
    public abstract List<Student> showStudentsService(PageBean pageBean);

    // 查询学生总数
    public abstract int countStudentsService();

    // 添加学生
    public abstract boolean insertStudentsService(Student student);

    // 编辑学生
    public abstract boolean editStudentsService(Student student);

    // 查询学生
    public abstract Student queryStudentsService(String id);

    // 删除学生
    public abstract boolean deleteStudentsService(String id);
}
